home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
util
/
cli
/
lookname22.lha
/
LookName
/
LookName.doc
< prev
Wrap
Text File
|
1995-10-24
|
12KB
|
414 lines
__ ____ _____________ ___________________________ __
\\\ | ¼|::| ¼| ¼| ¼|::| ¼| ¼| ¼| ¼| ///
\\\ | |::| | | | | |»»| | | | | | | | __| ///
/// .| |::| | | | | | | | _ | | | | __|. \\\
/// ::| |»»|____|____|__|__|__|__|__|__|__|_|__| |:: \\\
»» ..:::|_____|::::::::::::DOC V2.2:::::::::::::::|_____|:::.. »»
: : : : ╖
╖ : ╖
╖
Copyright ⌐1994-95 by Philippe Muhlheim.
1. Introduction
»»»»»»»»»»»»
Have you ever seen files in your hard disk or floppy disk which look
like this ?
mOd.inTRO1a
MOD.final score
mod.CYBERTORICA
bad-gokuh.crisis
buGtrAcE
SYSTEM-COnFIgUration
swiSS20
...
LookName changes minuscule and majuscule letters of all your files.
For exemple, you can put the first letter in majuscule and all the
others letters in minuscule.
You can find some new options in this version of LookName.
DISCLAIMER
»»»»»»»»»»
The author is not responsible for any loss of data, damages to software
or hardware that may result directly or indirectly from the use of this
program.The author reserves the right to make changes to the software or
documentation without notice.
2. How to use
»»»»»»»»»»
LookName works only with a CLI, via DOpus is more useful !
╖) Usage
»»»»»
LookName [-<options>] <symbols> [<File> <..> <..>/!]
EX LookName -abcdef... >.=/+ mOd.inTRO1a.xpk (you can write mod.intro1a.xpk)
»»
mOd.intRO1a.xpk will be renamed with the following options:
╖) Options
»»»»»»»
╗ -a : Kill prefix
»»»»»»»»»»»»»»»»
The prefix of a filename will be cut.
EX Lookname -a mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> inTRO1a.xpk
╗ -b : Kill suffix
»»»»»»»»»»»»»»»»
The suffix of a filename will be removed.
EX Lookname -b mOd.inTRO1a.xpk
»» mOd.inTRO1a -> mOd.inTRO1a
╗ -c : Change prefix to suffix
»»»»»»»»»»»»»»»»»»»»»»»»»»»»
The prefix of a filename will be put behind the name.
EX Lookname -c mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> inTRO1a.xpk.mOd
╗ -d : Change suffix to prefix
»»»»»»»»»»»»»»»»»»»»»»»»»»»»
The suffix of a filename will be put in front of name.
EX Lookname -d mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> xpk.mOd.inTRO1a
╗ -e : Swap prefix <-> suffix
»»»»»»»»»»»»»»»»»»»»»»»»»»»
Prefix & suffix will be swapped.
EX Lookname -e mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> xpk.inTRO1a.mOd
Lookname -e mOd.inTRO1a
mOd.inTRO1a -> inTRO1a.mOd
╗ -f : Make first letter uppercase
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
The first character must be a letter if not, it will not be changed.
EX Lookname -f mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> MOd.inTRO1a.xpk
╗ -j : Kill space
»»»»»»»»»»»»»»»
All spaces in a filename will be removed.
EX Lookname -j "mOd. inTRO 1a.xpk"
»» mOd. inTR O1a.xpk -> mOd.inTRO1a.xpk
╗ -k : kill symbols
»»»»»»»»»»»»»»»»»
All symbols in a filename will be suppressed.
EX Lookname -k # mod.## Destruction ##
»» mod.## Destruction ## -> mod. Destruction
╖╗ -k1 : Kill symbols and space before and after the symbols
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
EX Lookname -k1 # mod.## Destruction ##
»» mod.## Destruction ## -> mod.Destruction
NOTE! The k option can't be used with the s option.
╗ -l : Change space to "_"
»»»»»»»»»»»»»»»»»»»»»»»»
All spaces will be changed by "_" symbol.
EX Lookname -l mOd.inTRO 1a.xpk
»» mOd.inTR O1a.xpk -> mOd.inTRO_1a.xpk
╗ -o : Change "_" to space
»»»»»»»»»»»»»»»»»»»»»»»»
All "_" symbols will be changed by spaces.
EX Lookname -o mOd.inTRO_1a.xpk
»» mOd.inTR_O1a.xpk -> mOd.inTRO 1a.xpk
╗ -n : Put a capital letter after a number
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
Lookname looks into a filename and if there is a or several numbers,it
puts a capital letter after this number.
EX Lookname -n mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> mOd.inTRO1A.xpk
╗ -i : Put a capital letter after a space
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
The same effect but after a or several spaces.
EX Lookname -i mOd.i nTRO1a.xpk
»» mOd.i nTRO1a.xpk -> mOd.i NTRO1a.xpk
╗ -g : Filename Amiga 30 characters -> Filename PC 8(+4)
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
Lookname cuts a filename with max.30 characters (on Amiga) to
max.8 characters.
If the filename contains a space, "*", ".","_" all these characters will
be removed.
EX Lookname -g mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> mOdinTRO
╖╗ -g1 : Preserve suffix
»»»»»»»»»»»»»»»»»»»»»
It preserves the suffix, only a point and 3 characters.
EX Lookname -g1 mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> mOdinTRO.xpk
╖╗ -g2 : Preserve prefix
»»»»»»»»»»»»»»»»»»»»»
It preserves the prefix, only 3 characters and a point.
EX Lookname -g2 mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> inTRO1ax.mOd
╗ -h : Put strange or normal (h1) characters !
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
Lookname changes normal characters to strange ASCII.
EX Lookname -h mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> m°d.ín╢r°1σ.╫■k
╖╗ -h1 : put normal characters
»»»»»»»»»»»»»»»»»»»»»»»»»»»
Remove normal characters.
EX Lookname -h1 m°d.ín╢r°1σ.╫■k
»» m°d.ín╢r°1σ.╫■k -> mod.intro1a.xpk
╗ -m : Use multi-files
»»»»»»»»»»»»»»»»»»»»
With this option, you can use several files.
If the filename contains a space, you MUST use quotes.
EX Lookname -m mOd.inTRO1a.xpk demO2 "DISK. InfO"
»» mOd.inTRO1a.xpk -> mOd.inTRO1ax
demO2 -> demO2
DISK. InfO -> disk. Info
╗ -pt : Put the real name of a ProTracker-clone
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
This is very useful.If you have a protracker file (StarTrekker,Tracker-
Packer ... or all files that contain the name of the module in the
header) which is truncated (PC files), Lookname renames the file with the
20 first characters and puts the prefix "mod".
If the PT-filename contains a or several spaces, before or after the name,
all spaces will be removed (ex. "mod. intro1a " -> mod.intro1a).
EX Lookname -pt 1
»» 1 -> mod.intro1a
╗ s : Use symbols
»»»»»»»»»»»»»»»
This is the principle of lookname v1.0. It changes the letters to the
capital letters after the different symbols e.g. =/-.+=
EX Lookname -s .=/\O mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> mOD.InTRO1a.Xpk
Don't USE quotes for the symbols, but you can include letters or numbers.
╗ r : Make filenames lowercase (it was the default mode)
»»»»»»»»»»»»»»»»»»»»»»»»»»»»
EX Lookname -r mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> mod.intro1a.xpk
╗ u : Make filenames uppercase
»»»»»»»»»»»»»»»»»»»»»»»»»»»»
Do you like capital letters ? Yes? Use this option.
EX Lookname -u mOd.inTRO1a.xpk
»» mOd.inTRO1a.xpk -> MOD.INTRO1A.XPK
╗ t : Make alternate upper/lowercase
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
EX Lookname -t mod.intro1a.xpk
»» mod.intro1a.xpk -> MoD.iNtRo1A.xPk
╗ v : Make negative filename look
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
EX Lookname -v mod.intro1a.xpk
»» mod.intro1a.xpk -> mOD.iNTRO1A.xPK
╗ A : Rename only prefix
»»»»»»»»»»»»»»»»»»»»»»
It renames only the prefix, all the others letters are not changed.
You can't use B option.
EX Lookname -Au mod.intro1a.xpk
»» mod.intro1a.xpk -> MOD.intro1a.xpk
╗ B : Rename only suffix
»»»»»»»»»»»»»»»»»»»»»»
It renames only the suffix, all the others letters are not changed.
You can't use A option.
EX Lookname -Au mod.intro1a.xpk
»» mod.intro1a.xpk -> mod.intro1a.XPK
- "q" option looks if you have a PowerPacker suffix, you will get
".pp" instead of ".Pp".
- If you don't put any option, all letters will be in minuscule.
-) LookName -abcdef[...] =/_.- !
ALL FILES in the current directory will be renamed.
»»»»»»»»»
NOTE:
»»»»
!!!! You can use CTRL+C to *STOP* LookName. !!!!
»»»»»»
All options may be in any order !
3. System requirements
»»»»»»»»»»»»»»»»»»»
No need library or device, only your 2 hands í!í
LookName works successful with:
- OS1.2, OS 1.3, OS 2.x, OS 3.x.
- MC68000,MC68010,MC68020,MC68030,MC68040.
- All HardDrives,PFS,DS1... even ┐DF1?
If you have any problem for running LookName, go and see the author.
4. Distribution & Copyrights
áá »»»»»»»»»»»»»»»»»»»»»»»»»
This program is copyright (c) 1995 by Philippe Muhlheim.
You can spread this as long as all the files (unmodified!) are
included in this archive and no money is involved in the process.
The files that your can find in this archive:
* LookName/
- LookName.00 4580 bytes )------------> the 68000 version
- LookName.20+ 4280 bytes )------------> the 68020+ version
- LookName.doc 11771 bytes )------------> Lookname documentation
* LookName.info
* Bonus/XFD/
- 4Vx 580 bytes )------------> External decruncher
- readme 61 bytes
5. LookName revision history
»»»»»»»»»»»»»»»»»»»»»»»»»
2.2: Adds/Changes since 2.1 (23-10-95)
- Make alternate upper/lowercase (-t) (Hi Eagle ! :^)
- Make negative filename look (-v)
- Rename only prefix (-A)
- Rename only suffix (-B)
- pt option is now p option !
- Detect and remove dangerous symbols /:" when it uses p option
- Try to rename several time a file when there is a identical filename
2.1: Adds/Changes since 2.03 (12-09-95)
- Default mode is now an option ! (-r)
- kill symbols option added.
ex. mod.## Destruction ## -> mod.Destruction
2.03: Adds/Chances since 2.02 (16-06-95)
- Fixed bug : the last letter was killed with pt option, when there is
a space before this letter ! ( TMG hΘhΘ ;-)
2.02: Adds/Changes since 2.01 (25-05-95)
- Fixed bug : the last letter was killed with pt option
2.01: Adds/Changes since 2.00 (22-05-95)
- Remove spaces before and after a PT-Filename
2.00: Adds/Changes since 1.10 (18-03-95)
- kill prefix , suffix
- Change prefix to suffix , suffix to prefix
- Swap prefix <-> suffix
- Kill space , "_"
- Change space to "_" , "_" to space
- Filename AM 30 characters -> Filename PC 8(+4)
- Put strange or normal characters !
- Use multi-files
- Put the real name of a ProTracker-clone
- Change ".Pp" -> ".pp"
- Use symbols
- 68000 and 68020+ versions
1.10: Adds/Changes since 1.01 (not released) (05-03-95)
- rewritten
- use less bytes
1.01: Adds/Changes (not released) (27-02-95)
- resourced (HD crash)
- added "?" -> Lookname ?
1.00: First public release (08-09-94)
If you find bugs, have ideas of improvements or any suggestions,
just contact me please, see the author for address.
6. Future plans
»»»»»»»»»»»»
- More options.
- Interface.
- Your ╖suggestions╖
LookName is freeware.If you like and use it, please send
me an original postcard.Thanks!
If you have any suggestions/ideas/bug reports etc.
Please contact me at the following address:
Philippe Muhlheim
20 Avenue de l'Europe
67170 Brumath
France
------------------------------------END-----------------------------------------